package com.exm.collectcodenew.web.service.impl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.exm.collectcodenew.web.entity.ChatRequestDto;
import com.exm.collectcodenew.web.service.AnalysisRequestService;
import org.springframework.stereotype.Service;

@Service
public class AnalysisRequestServiceImpl implements AnalysisRequestService{


    @Override
    public String analysisRequest(ChatRequestDto chatRequestDto) {
        String result = JSON.toJSONString(chatRequestDto, SerializerFeature.WriteEnumUsingToString);
        return result;
    }

}
